import request from '@/utils/request'

// 查询提现申请信息列表
export function listCashApply(query) {
  return request({
    url: '/system/cashApply/list',
    method: 'get',
    params: query
  })
}

// 查询提现申请信息详细
export function getCashApply(id) {
  return request({
    url: '/system/cashApply/' + id,
    method: 'get'
  })
}

// 新增提现申请信息
export function addCashApply(data) {
  return request({
    url: '/system/cashApply',
    method: 'post',
    data: data
  })
}

// 修改提现申请信息
export function updateCashApply(data) {
  return request({
    url: '/system/cashApply',
    method: 'put',
    data: data
  })
}

// 删除提现申请信息
export function delCashApply(id) {
  return request({
    url: '/system/cashApply/' + id,
    method: 'delete'
  })
}
